package com.tarena.lbs.activity.dao.repository;

import com.github.pagehelper.PageInfo;
import com.tarena.lbs.activity.pojo.po.ActivityPO;
import com.tarena.lbs.activity.pojo.query.ActivityQuery;

public interface ActivityRepository {

    PageInfo<ActivityPO> pageListByBusinessId(ActivityQuery query);

    ActivityPO selectActivityById(Integer id);

    void insert(ActivityPO po);

    void updateById(ActivityPO po);
}
